<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code">
	<x:out select="$xmlData/data/proposal/grant_code" />
</c:set>
<c:set var="sub_grant_code">
	<x:out select="$xmlData/data/proposal/sub_grant_code" />
</c:set>


<div class="t_bar">经费预算情况（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1">
	<tr align="center">
		<td colspan="2">投入总额</td>
		<td colspan="2">&nbsp;<x:out select="$xmlData/data/budgets/input_total" /></td>
		<td colspan="2">本企业投资</td>
		<td colspan="2">&nbsp;<x:out select="$xmlData/data/budgets/already_input_total" /></td>
	
		

	</tr>
	<tr>
		<td align="center">资金来源</td>
		<td colspan="7">&nbsp;<x:out select="$xmlData/data/budgets/source_total" /></td>
	</tr>
	<tr align="center">
		<td rowspan="2">自有资金</td>
		<td rowspan="2">银行贷款</td>
		<td colspan="4">已获政府资金</td>
		<td rowspan="2" colspan="2">其他资金</td>
	</tr>
	<tr align="center">
		<td>国家</td>
		<td>省级</td>
		<td>市级</td>
		<td>区级</td>
	</tr>
	<tr align="center">
		<td>&nbsp;<x:out select="$xmlData/data/budgets/own_fund" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/bank_fund" /></td>

		

		<td>&nbsp;<x:out select="$xmlData/data/budgets/country_fund" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/provincial_fund" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/city_fund" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budgets/area_fund" /></td>
		<td colspan="2">&nbsp;<x:out select="$xmlData/data/budgets/other_fund" /></td>
	</tr>

</table>

<div class="t_bar">新增研发投入预算（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1">

	<tr >
		<th align="center" width="280" >支出科目</th>
		<th class="TblHead" align="center" width="80">总额</th>
		<th class="TblHead" align="center" width="80" >${year-3}</th>
		<th class="TblHead" align="center" width="80" >${year-2}</th>
		<th class="TblHead" align="center" width="80" >${year-1}</th>
	</tr>
	
	<x:forEach select="$xmlData/data/budget/invest_detail/invest" var="invest">
	<tr>
		<td align="left" style="padding-left: 20px">&nbsp;<x:out select="$invest/name"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_total"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_allot"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_self"/></td>
		<td align="center">&nbsp;<x:out select="$invest/total_country"/></td>
	</tr>
</x:forEach>
	

</table>
<br>


